﻿using LY.DataAccess.Repository;
using LY.Entity;
using LY.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LY.Business.ServiceImpl
{
    public class BankInfoService : IBankInfoService
    {
        BankInfoRepository bank;
        public BankInfoService()
        {
            bank = new BankInfoRepository();
        }

        public U_BankInfo GetBankInfo(int id)
        {
            return bank.GetBankInfo(id);
        }

        public U_BankInfo GetBankInfo(string bankCode)
        {
            return bank.GetBankInfo(bankCode);
        }
    }
}
